from django.urls import path, include
from rest_framework.routers import DefaultRouter

from . import views

# app_name = 'experiments'  # 设置应用命名空间
router = DefaultRouter()

urlpatterns = [
    path('', include(router.urls)),
    path('fetch_selected_items/', views.fetch_selected_items, name='fetch_selected_items'),
    path('get-prompts/', views.get_prompts, name='get_prompts'),
    path('get-workflow/', views.get_workflow, name='get_workflow'),
    path('ai-analysis/', views.ai_analysis, name='ai_analysis'),
]
